package com.jspx.txweb.dispatcher;

import com.jspx.txweb.WebConfigManager;
import com.jspx.txweb.config.ActionConfig;
import com.jspx.txweb.config.TXWebConfigManager;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.jspx.utils.StringUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by Administrator on 2017/6/17.
 *
 */
public abstract class WebHandle {
    protected static final Logger log = LoggerFactory.getLogger(WebHandle.class);

    protected String namePart = StringUtil.empty;

    protected String namespace = StringUtil.empty;

    protected ActionConfig actionConfig = null;

    protected static final WebConfigManager webConfigManager = TXWebConfigManager.getInstance();

    abstract  public void doing(final  HttpServletRequest request,final  HttpServletResponse response)  throws Exception;



}
